Kwik.Page.include("Kwik.Collections.Hashtable.js");
Kwik.Page.include("Kwik.Data.RowCollection.js");

/**
* Data row object
* @extends Kwik.Collections.Hashtable
* @requires Kwik.Collections.Hashtable
* @requires Kwik.Data.RowCollection
* @constructor
* @created 12:37 AM 7/29/2009
* @modified 12:37 AM 7/29/2009
*/
Kwik.Data.Row = function(config)
{
	/** @ignore */
	Kwik.Utility.extend(this, "Kwik.Collections.Hashtable");
	this.__class.push("Kwik.Data.Row");

	/** Reference to a parent object @type Kwik.Data.RowCollection */
	this.parent = null;

	/** Configure this row object @type Kwik.Data.RowConfig */
	this.configure = function Row_configure(config)
	{
		config = this.Kwik$Object.configure(config);
		if(config.parent){this.parent = config.parent;}
		return config;
	};

	/** @ignore */
	this.main = function(config)
	{
		if(config){this.configure(config);}
	}; this.main(config);
};

/**
* Data row configuration object
* @constructor
* @created 12:26 AM 7/29/2009
* @modified 12:26 AM 7/29/2009
*/
Kwik.Data.RowConfig = function()
{
	/** Reference to a parent object @type Kwik.Data.RowCollection */
	this.parent = null;
};